package com.cheli.center;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Classname UcenterApplication
 * @Description 用户中心启动类
 * @Date 2021/5/2 17:09
 * @Created by cl
 */
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.cheli"})
@MapperScan("com.cheli.center.mapper")
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class, args);
    }
}
